<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<title>阅学网欢迎您！</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta name="Keywords" content="">
	<meta name="description" content="">
	<link href="css/user/attention.css?v=1.0" rel="stylesheet" type="text/css">
	<jsp:include page="/user/common.jsp" />
	<script src="js/user/attention.js?v=1.0"></script>
  </head>
<body>
<%--消息私信页面 --%>
<jsp:include page="/user/top.jsp"></jsp:include>
<jsp:include page="/user/msg/msgLeft.jsp"></jsp:include>
<div style="margin-left: 19%;">
<div class="attention" >
	<ul>
		<li class="attention-current"><a href="user/notifications/attention" >我关注的(${userAttentionList.size()})</a></li>
		<li><a href="user/msg/attentionMe" >关注我的</a></li>
		<li><a href="user/msg/attentionEach">相互关注</a></li>
	</ul>
</div>
<div class="attention-detail" >
	<ul>
	<c:forEach items="${userAttentionList }" var="userAttention">
		<li>
			<div class="dv">
				<div style="width: 90px;float: left;"><img src="user/showPicture?id=${userAttention.userAttentionId }"></div>
				<div style="width: 100px;float: left;">
					<span style="float: left;width: 100%;">${userAttention.chName }</span>
					<span style="float: left;width: 100%;">LV${userAttention.grade }</span>
					<span style="float: left;width: 100%;text-align: right;font-size: 12px;">
						<a href="user/msg/personalLetter?userAttentionId=${userAttention.userAttentionId }">发私信</a>  
						<a href="user/msg/cancelAttention?userAttentionId=${userAttention.userAttentionId }">取消关注</a>
					</span>
				</div>
			</div>
		</li>
	</c:forEach>
	</ul>
</div>
</div>
</body>
</html>
